#RequireAdmin
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=install.ico
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
$dest = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\Flash Drive Backup.exe"
If FileExists($dest) Then
	FileDelete($dest)
EndIf
InetGet("https://flash-drive-backup.googlecode.com/hg/Flash%20Drive%20Backup.exe",$dest,1)
If @error Then
	FileInstall(".\Flash Drive Backup.exe",$dest)
EndIf
RunWait("taskkill /im ""AutoIt3_x64.exe"" /F")
RunWait("taskkill /im ""AutoIt3.exe"" /F")
RunWait("taskkill /im ""Flash Drive Backup.exe"" /F")
Run($dest)